package com.pm.system.domain;

import com.pm.common.annotation.Excel;
import com.pm.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品对象 pm_goods
 * 
 * @author ruoyi
 * @date 2025-09-19
 */
public class PmGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private String goodsTypeId;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long number;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }

    public void setGoodsTypeId(String goodsTypeId) 
    {
        this.goodsTypeId = goodsTypeId;
    }

    public String getGoodsTypeId() 
    {
        return goodsTypeId;
    }

    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsName", getGoodsName())
            .append("goodsTypeId", getGoodsTypeId())
            .append("number", getNumber())
            .toString();
    }
}
